package com.san.hkhospital.mapper;

import com.san.hkhospital.entity.SurDo;
import com.san.hkhospital.entity.SurDoExample;
import java.util.List;

import com.san.hkhospital.vo.Search2;
import com.san.hkhospital.vo.surdoTableVO;
import org.apache.ibatis.annotations.Param;

/**
 * ClassName:SurDoMapper
 * PackageName:com.san.hkhospital.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/11 10:59
 * 
 */
 
 
public interface SurDoMapper {
    long countByExample(SurDoExample example);

    int deleteByExample(SurDoExample example);

    int deleteByPrimaryKey(Integer sdId);

    int insert(SurDo record);

    int insertSelective(SurDo record);

    List<SurDo> selectByExample(SurDoExample example);

    SurDo selectByPrimaryKey(Integer sdId);

    int updateByExampleSelective(@Param("record") SurDo record, @Param("example") SurDoExample example);

    int updateByExample(@Param("record") SurDo record, @Param("example") SurDoExample example);

    int updateByPrimaryKeySelective(SurDo record);

    int updateByPrimaryKey(SurDo record);

    List<surdoTableVO> findAll();

    List<surdoTableVO> search(Search2 search2);
}